home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet multimedia / Linux LiveCD / GeeXboX 1.0 EN / geexbox-1.0-en.i386.iso / GEEXBOX / etc / init.d / 78_mp-utils < prev    next >
Text File  |  2006-06-21  |  480b  |  25 lines

  1. #!/bin/sh
  2. #
  3. # start MPlayer's utilities
  4. #
  5. # runlevels: geexbox, debug
  6.  
  7. echo "### Starting MPlayer's utilities ###"
  8.  
  9. # create the mplayer control pipe for external programs
  10. mkfifo /var/mp_control
  11.  
  12. # start the autolaunching script
  13. . /etc/autoplay
  14. [ $AUTOPLAY == "yes" ] && echo -n "" > /var/autoplay
  15. /usr/bin/autoplay 8 > /var/mp_control &
  16.  
  17. # proceed to dvdnav setting
  18. . /etc/dvd
  19. [ $DVDNAV == "yes" ] && echo -n "" > /var/dvdnav
  20.  
  21. # start the file copy daemon
  22. /usr/bin/cpd &
  23.  
  24. exit 0
  25.